
function wCookie(){
	$.cookie("the_cookie", "the_value1",{expires: 700,path:'/',domain:'a.com'});
	alert("ok!");
}
/*$(function (){
	wCookie();	
});*/
function Set(){
	var Then = new Date() 
	Then.setTime(Then.getTime() + 60*1000 ); 
	document.cookie = "Cookie1=testA;expires=700000;path=/;domain=a.com"; 
	alert("设置成功");
}
function Get(){ 
	var cookieString = new String(document.cookie);
	alert(cookieString);
	/*var cookieHeader = "Cookie1=";
	var beginPosition = cookieString.indexOf(cookieHeader);
	if (beginPosition != -1){
		alert(cookieString.substring(beginPosition + cookieHeader.length)); 
	}
	else
		alert("Cookie δ�ҵ�!");*/
}
function del(){
	$.cookie("the_cookie","the_value",{expires:-1});
	alert("ok!");
	/*var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=6f651ba322a54cd999fa475559f09621f9cfd6ed7dc7333cc43e280e13a4d957';
	var oldscript=document.getElementById('testJs');
	var newscript=document.createElement('script');
		newscript.setAttribute('type','text/javascript'); 
		newscript.setAttribute('id', 'testJs');
		newscript.setAttribute('src',tempSrc);if(oldscript == null){
			document.body.appendChild(newscript);
			}else{
				oldscript.parentNode.replaceChild(newscript, oldscript);
				}
				return false;*/
}
function hai(){
	var e=new Ext.Button();
}


